package com.web;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author HKC
 */
@SpringBootApplication
@EnableDiscoveryClient
@ComponentScan(basePackages = {"com.server"})/**将server的api交给spring管理自动装配bean*/
public class WebApplication {

  public static void main(String[] args) {
    SpringApplication.run(WebApplication.class, args);
  }
}
